package edu.vital.energy.longevity.ch04.annoation;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;


 public class StudentService2 {
    @Value("${student.sno}")
    private String sno;
    @Value("${student.sname}")
    private String sname;
    @Autowired
    private ClassService classService;

}
